name := "spring-zk-grpc"

version := "1.0.0"

scalaVersion := "2.12.0"

javacOptions ++= Seq("-source", "1.8", "-encoding", "UTF-8")

libraryDependencies ++= Seq(
  "io.grpc" % "grpc-netty" % "1.0.1",
  "com.trueaccord.scalapb" %% "scalapb-runtime-grpc" % com.trueaccord.scalapb.compiler.Version.scalapbVersion
)



val springVersion="1.4.1.RELEASE"
libraryDependencies ++= Seq(
  "org.springframework.boot" % "spring-boot" % springVersion,
  "org.springframework.boot" % "spring-boot-autoconfigure" % springVersion,
  "org.springframework.boot" % "spring-boot-starter" % springVersion excludeAll (ExclusionRule(organization = "ch.qos.logback")),
  "org.springframework.boot" % "spring-boot-starter-web" % springVersion,
  "org.springframework.boot" % "spring-boot-starter-log4j2" % springVersion,
  "org.springframework.boot" % "spring-boot-starter-actuator" % springVersion,
  "org.springframework.boot" % "spring-boot-starter-test" % springVersion % "test",
  "org.springframework.data" % "spring-data-mongodb" % "1.9.2.RELEASE" excludeAll (ExclusionRule(organization = "org.mongodb"))
)

// https://mvnrepository.com/artifact/org.projectlombok/lombok
libraryDependencies += "org.projectlombok" % "lombok" % "1.16.12"


// https://mvnrepository.com/artifact/org.apache.zookeeper/zookeeper
libraryDependencies += "org.apache.zookeeper" % "zookeeper" % "3.4.9"


// https://mvnrepository.com/artifact/com.alibaba/fastjson
libraryDependencies += "com.alibaba" % "fastjson" % "1.2.23"





